package cn.xbtop.blog.service;

import cn.xbtop.blog.pojo.Admin;

/**
 * @author Mxb
 * @version 1.0
 * @date 2020/2/19 15:44
 */
public interface AdminService {


    int deleteByPrimaryKey(Integer id);

    int insert(Admin admin);

    Admin selectByPrimaryKey(Integer id);


    int updateByPrimaryKey(Admin admin);

    Admin selectByUsername(String username);

    Admin getAdmin();

    void updatePassword();
}
